package com.quanxiaoha.xiaohashu.data.align.constant;/**
 * @author Myj
 * @date 2025/8/16
 */

/**
 *@author: myj
 *@createtime: 2025-08-16
 *@description: 表常量类
 *@version: 1.0
 */

public class TableConstants {
    /**
     * 表名中的分隔符
     */
    private static final String TABLE_NAME_SEPARATE = "_";

    /**
     * 拼接表名后缀
     * @param hashKey
     * @return
     */
    public static String buildTableNameSuffix(String date, long hashKey) {
        // 拼接完整的表名
        return date + TABLE_NAME_SEPARATE + hashKey;
    }
}
